package com.sz.mes.dto;

import com.diboot.core.binding.query.BindQuery;
import com.diboot.core.binding.query.Comparison;
import com.sz.mes.entity.Technique;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;
import com.sz.mes.entity.Tech;

/**
 * 工艺 DTO定义
 * @author hem
 * @version 1.0
 * @date 2023-06-12
 * Copyright © szhs
 */
@Getter
@Setter
@Accessors(chain = true)
public class TechniqueDTO extends Technique {

    private static final long serialVersionUID = -569908809598324598L;

    /**
     * 关联字段 工艺信息查询.工艺名称：Tech.techName
     */
    @BindQuery(comparison = Comparison.EQ, entity = Tech.class, field = "techName", condition = "this.tech_id=id")
    private String techTechName;
}
